package fr.aprr.geoloc.client.presenser;


import com.mvp4g.client.annotation.Presenter;
import com.mvp4g.client.presenter.BasePresenter;

import fr.aprr.geoloc.client.AppEventBus;
import fr.aprr.geoloc.client.presenser.interfaces.IMenuView;
import fr.aprr.geoloc.client.presenser.interfaces.IMenuView.IMenuPresenter;
import fr.aprr.geoloc.client.view.MenuView;


@Presenter(view = MenuView.class)
public class MenuPresenter extends BasePresenter<IMenuView, AppEventBus> implements IMenuPresenter{
	
	public void onStart(){
		eventBus.addRootTab(view);
	}

	public void addNewTab(String name) {
		// TODO Auto-generated method stub
		eventBus.addNewTab(name);
	};
	
	
}
